GXSavePrintFile
You can use theGXSavePrintFile
function to save a print file object.
void GXSavePrintFile (gxPrintFile aPrintFile, FSSpec *pFileSpec);
aPrintFile
- A reference to the print file object whose file you want to save.
pFileSpec
- A pointer to a file system specification record.
DESCRIPTION
TheGXSavePrintFile
function writes an entire print file to disk. This file must previously have been opened with theGXOpenPrintFile
function. To replace or update the print file, you can passnil
in thepFileSpec
parameter. Otherwise, you can specify a name and location in thepFileSpec
parameter to save the updated print file and leave the original print file intact.This function compacts a print file by recovering any space no longer needed. Space becomes available when pages are removed or when a format no longer references any pages. This function also permanently saves any changes that you have made to the print file.
RESULT CODES
gxSegmentLoadFailedErr A required code segment could not be found, or there was not enough memory to load it.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help